package com.diancan.dc.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.diancan.common.annotation.Excel;
import com.diancan.common.core.domain.BaseEntity;

/**
 * 订单详情对象 order_detail
 * 
 * @author dc
 * @date 2021-12-27
 */
public class OrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String carId;

    /** 美食 */
    @Excel(name = "美食")
    private Long foodId;

    /** 名称 */
    @Excel(name = "名称")
    private String foodName;

    /** 数量 */
    @Excel(name = "数量")
    private String foodNumber;

    /** 订单 */
    @Excel(name = "订单")
    private String orderId;

    /** 用户 */
    @Excel(name = "用户")
    private String userName;

    /** 单价 */
    @Excel(name = "单价")
    private String foodPrice;


    public void setCarId(String carId) 
    {
        this.carId = carId;
    }

    public String getCarId() 
    {
        return carId;
    }
    public void setFoodId(Long foodId) 
    {
        this.foodId = foodId;
    }

    public Long getFoodId() 
    {
        return foodId;
    }
    public void setFoodName(String foodName) 
    {
        this.foodName = foodName;
    }

    public String getFoodName() 
    {
        return foodName;
    }
    public void setFoodNumber(String foodNumber) 
    {
        this.foodNumber = foodNumber;
    }

    public String getFoodNumber() 
    {
        return foodNumber;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getFoodPrice() {
        return foodPrice;
    }

    public void setFoodPrice(String foodPrice) {
        this.foodPrice = foodPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("carId", getCarId())
                .append("foodId", getFoodId())
                .append("foodName", getFoodName())
                .append("foodNumber", getFoodNumber())
                .append("orderId", getOrderId())
                .append("userName", getUserName())
                .append("foodPrice", getFoodPrice())
                .toString();
    }
}
